package com.hq.service;

import com.hq.bean.City;
import com.hq.bean.Student;
import com.hq.bean.Teacher;
import com.hq.bean.Users;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface StudentService {
    List<Student> list(Map map);
    List<Teacher> teacher();
    List<City> city(Integer pid);
    Users login(Users users);
    int addRegister(Users users);
    int add(Student student,Integer[] tids);
    int del(Integer sid);
    Map getBySid(Integer sid);
    int upd(Student student,Integer[] tids);
    int yz(String uname);
    int dels(@Param("sid") String sid);
}
